const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
  entry: './src/index.js',
  output: {
    path: path.resolve(__dirname, 'dist'),
    filename: 'bundle.js'
  },
  module: 'none',
  plugins: [
    new HtmlWebpackPlugin({
      template: 'index.html',
      filename: 'app.html',
      inject: 'body'
    })
  ]
}
